<lift:surround with="default" at="content">
		<h2>Selection support and zooming</h2>
		<div id="ph_graph" style="width:600px;height:300px"></div>
		<span id="ph_legend" > </span>
		<p id="choices">Show:</p>
		  <lift:snippet type="Selection:render">
		    <flot:graph>
		    <script>
    // insert checkboxes 
    var choiceContainer = $('#choices');
    $.each(datas_ph_graph, function(key, val) {
        choiceContainer.append('<br/><input type="checkbox" name="' + key + '" checked="checked" >' + val.label + '</input>');
    });
		    </script>
		    </flot:graph>
		  </lift:snippet> 
</lift:surround>

